<%@ page language="java" contentType="text/html; charset=utf-8"
         pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page isELIgnored="false"%><%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
    pageContext.setAttribute("path",path);
    pageContext.setAttribute("basePath",basePath);
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Insert title here</title>
    <script src="${path}/js/jquery/easyui/jquery-1.8.0.min.js"></script>

</head>
<body>

<div style="text-align:center" class="printStatementDiv">
    <iframe name="printIframe" frameborder=0 scrolling=no width="640px" height="750px"
            src="<%=request.getContextPath()%>/springmvc/jreport/showReport.mvc?id=${userBean.id}"></iframe>
</div>

<br/>
<br/>
</body>
</html>